import Vue from 'vue'
import App from './App'

// 引入uView
import uView from "uview-ui";
Vue.use(uView);

// 页面跳转封装
import $navJump from "./tools/navJump.js";
Vue.prototype.$navJump = $navJump;

// js校验封装
import $check from "./tools/check.js";
Vue.prototype.$check = $check;

// 网络请求模块
import $ajax from "./tools/ajax.js";
Vue.prototype.$ajax = $ajax;

// 引入md5加密
import md5 from 'js-md5';
Vue.prototype.$md5 = md5;

// 状态数据
import store from './store' 
Vue.prototype.$store = store; // uniapp需要全局挂载

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
	store,
  ...App
})
app.$mount()
